package com.go.where.family.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.go.where.family.dao.OrderDao;
import com.go.where.family.pojo.OrderInfo;

@Repository("orderDao")
public class OrderDaoImpl extends BaseDaoImpl<OrderInfo, String> implements
		OrderDao {

	@Override
	public String getNameSpace() {
		return "mybatis.xml.OrderMapper";
	}

	@Override
	public Integer sumPersonNum(Map<String, Object> map) {
		return getSqlSession().selectOne(getNameSpace()+".sumPersonNum", map);
	}

}
